<%@page import="itsm.isperp.framework.core.context.ContextHolder"%><%@ page
	language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = ContextHolder.getWebServerName(request);
%>


<div data-role="header" data-position="inline"
	class="ui-header ui-bar-a" role="banner">
	<h1 class="ui-title" role="heading" aria-level="1">个人信息</h1>
</div>
<div data-role="content" class="ui-content" role="main">

	<form action="<%=basePath%>api/wechat/setting/saveUserInfo"
		data-ajax="false" id="formid">
		<div class="box">

			<table>
				<tbody>
					<tr>
						<th>帐号：</th>
						<td>${appUser.name }</td>
					</tr>
					<tr>
						<th>姓名：</th>
						<td>${appUser.fullname }</td>
					</tr>
					<tr>
						<th>手机：</th>
						<td>${appUser.mobile }</td>
					</tr>
					<tr>
						<th>短号：</th>
						<td>${appUser.mobileShort }</td>
					</tr>
					<tr>
						<th>电话：</th>
						<td>${appUser.tel }</td>
					</tr>
					<tr>
						<th>邮箱：</th>
						<td>${appUser.email }</td>
					</tr>
					<tr>
						<th>地址：</th>
						<td>${appUser.address }</td>
					</tr>


				</tbody>
			</table>

			<div class="btnDiv" onclick="return takeSubmit();">
				<a id="btnSubmit" href="#" data-role="button" data-mini="true"
					data-theme="c" style="color: White;border: 1px solid #386bb8;"
					data-corners="true" data-shadow="true" data-iconshadow="true"
					data-wrapperels="span"
					class="ui-btn ui-shadow ui-btn-corner-all ui-mini ui-btn-up-c"><span
					class="ui-btn-inner"><span class="ui-btn-text"
						style="text-shadow:none" id="subBtn1">修改</span> </span> </a>
			</div>
		</div>
	</form>
	<script type="text/javascript">
	var subing = false;
	function takeSubmit() {
	    $("#subBtn1").text("提交中...");
		subing=true;
		window.location.href="<%=basePath%>api/wechat/setting/changeInfo?openid=${openid}";
	}
</script>
</div>

